ValidatedString

constructor(defaultValue: String, regex: String)

A validated string value validated with Regex

Author

fzzyhmstrs

Since

0.2.0

Parameters

defaultValue

String - the default string for this setting

regex

String - the Regex pattern to match against

Throws

If the regex can't match to the default input


constructor(defaultValue: String)

An unbounded validated string value

Any string value will be permissible, so this ValidatedField will primarily validate de/serialization.

Author

fzzyhmstrs

Since

0.2.0

Parameters

defaultValue

String, the default string for this setting


constructor()

An unbounded validated string value with empty default value

Any string value will be permissible, so this ValidatedField will primarily validate de/serialization.

Author

fzzyhmstrs

Since

0.2.0


constructor(defaultValue: String, checker: EntryChecker<String>)

Parameters

defaultValue

String default for the setting

checker

EntryChecker defining validation and correction for the string inputs. If the provided checker is an AllowableStrings, this will show suggestions in its text field widget.